package com.learn.design.abstractfactory.service;

import java.util.concurrent.TimeUnit;

/**
 * @author xuhainan
 * @date 2023/8/1 16:51
 * @region hefei
 */
public interface ICacheService {

    String get(final String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);

}
